package com.ymatou.query.seller.trading.api.parameter;

import java.lang.reflect.Field;
import java.math.BigDecimal;

public class Flows {
	/**
	 * 现金
	 */
	private BigDecimal Cash = new BigDecimal(0);
	/**
	 * 平台优惠券
	 */
	private BigDecimal Coupon = new BigDecimal(0);
	/**
	 * 运费
	 */
	private BigDecimal Freight = new BigDecimal(0);
	/**
	 * 红包
	 */
	private BigDecimal Gift = new BigDecimal(0);
	/**
	 * 商家优惠券
	 */
	private BigDecimal SellerCoupon = new BigDecimal(0);
	/**
	 * 总额
	 */
	private BigDecimal Total = new BigDecimal(0);

	public BigDecimal getCash() {
		return Cash;
	}

	public void setCash(BigDecimal cash) {
		Cash = cash;
	}

	public BigDecimal getCoupon() {
		return Coupon;
	}

	public void setCoupon(BigDecimal coupon) {
		Coupon = coupon;
	}

	public BigDecimal getFreight() {
		return Freight;
	}

	public void setFreight(BigDecimal freight) {
		Freight = freight;
	}

	public BigDecimal getGift() {
		return Gift;
	}

	public void setGift(BigDecimal gift) {
		Gift = gift;
	}

	public BigDecimal getSellerCoupon() {
		return SellerCoupon;
	}

	public void setSellerCoupon(BigDecimal sellerCoupon) {
		SellerCoupon = sellerCoupon;
	}

	public BigDecimal getTotal() {
		return Total;
	}

	public void setTotal(BigDecimal total) {
		Total = total;
	}
	
	public static void main(String[] args) {
		Class c = Flows.class;
		for (Field f : c.getDeclaredFields()) {
			String s = f.getName();
			System.out.println("DataUtil.verify(expRefund.get"
					+ s + "(), actRefund.get" + s
					+ "(),\"验证order." + s
					+ "\");");
		}
	}

}
